package com.itheima.health.dao;

import com.itheima.health.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderSettingDao {
    Integer insertOrderSetting(OrderSetting orderSetting);

    List<OrderSetting> selectOrderSettingByMonth(@Param("startDate") String startDate, @Param("endDate") String endDate);

    Integer updateOrderSetting(@Param("number") Integer number, @Param("date") String date);

    OrderSetting selectOrderSettingByOrderDate(String date);

    Integer updateReservationsById(@Param("id") Integer id, @Param("reservations") Integer reservations);

}
